package com.itheima.mall.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.itheima.mall.pojo.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * 商品信息
 */
@Data
@AllArgsConstructor  //满参构造方法
@NoArgsConstructor   //无参构造方法

public class ProductDto {

    private Long id;
    private Long brandId;
    private Long productCategoryId;
    private Long feightTemplateId;
    private Long productAttributeCategoryId;
    private String name;
    private String pic;
    private String productSn;
    private Long deleteStatus;
    private Long publishStatus;
    private Long newStatus;
    private Long recommandStatus;
    private Long verifyStatus;
    private Long sort;
    private Long sale;
    private Double price;
    private Double promotionPrice;
    private Long giftGrowth;
    private Long giftPoint;
    private Long usePointLimit;
    private String subTitle;
    private String description;
    private Double originalPrice;
    private Long stock;
    private Long lowStock;
    private String unit;
    private Double weight;
    private Long previewStatus;
    private String serviceIds;
    private String keywords;
    private String note;
    private String albumPics;
    private String detailTitle;
    private String detailDesc;
    private String detailHtml;
    private String detailMobileHtml;
    private Date promotionStartTime;
    private Date promotionEndTime;
    private Long promotionPerLimit;
    private Long promotionType;
    private String brandName;
    private String productCategoryName;
    //商品会员价格设置
    private List<MemberPrice> memberPriceList;
    //商品的sku库存信息
    private List<SkuStock> skuStockList;
    //优选专区和商品的关系
    private List<PrefrenceAreaProductRelation>  prefrenceAreaProductRelationList;
    //数及自定义规格属性
    private List<ProductAttributeValue> productAttributeValueList;
    //商品满减价格设置
    private List<ProductFullReduction> productFullReductionList;
    //商品阶梯价格设置
    private List<ProductLadder> productLadderList;
    //专题和商品关系
    private List<Subject> subjectProductRelationList;


}